<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="copyright" content="http://www.appcms.org" />
<link rel="stylesheet" href="skin/base.css">
<link rel="stylesheet" href="skin/coupons.css">
<link rel="stylesheet" type="text/css" href="skin/filter.css">
<script src="js/config.js"></script>
<script src="js/common.js"></script>
<script src="js/zy_control.js"></script>
<script src="js/zy_click.js"></script>
</head>
<body>
<div id="main">
  <div class="filter" id="filter"> </div>
</div>
</body>
<script>
	zy_init();
	function select_catid(model,catid){
		uexWindow.evaluateScript(localStorage['filter_p_url'],0,"filter_catid(\'"+model+"\',"+catid+");");
	}
	
	window.uexOnload=function(type){
		if (!type){
			uexWindow.setBounce("1");
			uexWindow.showBounceView("0","#f3f3f3","0");
			uexWindow.showBounceView("1","#f3f3f3","0");
			uexWindow.bringToFront();
			
			var html='<fieldset><legend>分类</legend></fieldset><ul class="class">';
			var data = eval(localStorage['l_filter_cur']);
			for (i in data) {
				html += '<li><span ontouchstart="zy_touch(\'cur\')" onclick="select_catid(\''+data[i]['model']+'\','+data[i]['catid']+');">'+data[i]['title']+'</span></li>';
			}
			html += '</ul>';
			$$('filter').innerHTML = html;
		}
	}
	</script>
</html>